package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.CustomerReturnList;
import com.atguigu.jxc.entity.CustomerReturnListGoods;

import java.util.List;

public interface CustomerReturnListGoodsDao {
    void insert(CustomerReturnList customerReturnList, CustomerReturnListGoods customerReturnListGoods);

    List<CustomerReturnList> getCustomerReturnlist(String returnNumber, Integer customerId, Integer state, String sTime, String eTime);

    List<CustomerReturnListGoods> getCustomerReturnListGoodsByCustomerReturnListId(Integer customerReturnListId);

    void deleteCustomerReturnListGoodsByCustomerReturnListId(Integer customerReturnListId);

    void deleteCustomerReturnListById(Integer customerReturnListId);

    CustomerReturnList getCustomerReturnList(Integer customerReturnListId);
}
